/*
 * Copyright (c) GoKeep by gokeep.org. 2022-2023. All rights reserved
 */
package org.gokeep.common.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "system.cluster")
public class ClusterProperties {
    /**
     * 是否启用模式
     */
    private boolean enable;
    /**
     * 节点名称
     */
    private String nodeName;

    /**
     * 节点数
     */
    private int nodeTotal;
}
